package com.mcxx.modules.miniSalvation.order.service.read;

import com.mcxx.modules.miniSalvation.order.dao.read.IncomeCalculateReadDao;
import com.mcxx.modules.miniSalvation.order.dao.read.IncomeCertReadDao;
import com.mcxx.modules.miniSalvation.order.entity.IncomeCert;
import com.yinhai.ta404.core.transaction.annotation.TaTransactional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
@TaTransactional(readOnly = true)
public class IncomeCertReadService {
    @Autowired
    private IncomeCertReadDao incomeCertReadDao;


    public List<IncomeCert> selectContentByOrderId(String orderId, String memberId, String fileType){
        return incomeCertReadDao.selectFileList(orderId,memberId,fileType);
    }
}
